package ui.model;

import java.util.List;

/**
 * Created by chenjian on 2019/12/6
 */

public class RewardsChallengeBean {


    /**
     * current : 1
     * pages : 1
     * records : [{"datetime":1575615290000,"amount":10,"merchantNo":"10000000000001","merchantName":"老五01"},{"datetime":1575615290000,"amount":10,"merchantNo":"10000000000002","merchantName":"老五01"},{"datetime":1575615290000,"amount":10,"merchantNo":"10000000000003","merchantName":"老五01"}]
     * size : 10
     * total : 3
     */

    private int current;
    private int pages;
    private int size;
    private int total;
    private List<RecordsBean> records;

    public int getCurrent() {
        return current;
    }

    public void setCurrent(int current) {
        this.current = current;
    }

    public int getPages() {
        return pages;
    }

    public void setPages(int pages) {
        this.pages = pages;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<RecordsBean> getRecords() {
        return records;
    }

    public void setRecords(List<RecordsBean> records) {
        this.records = records;
    }

    public static class RecordsBean extends BaseBean {
        /**
         * datetime : 1575615290000
         * amount : 10
         * merchantNo : 10000000000001
         * merchantName : 老五01
         */

        private long datetime;
        private String amount;
        private String merchantNo;
        private String merchantName;
        private String tradeAmount;

        public String getTradeAmount() {
            return returnInfo(tradeAmount);
        }

        public void setTradeAmount(String tradeAmount) {
            this.tradeAmount = tradeAmount;
        }


        public long getDatetime() {
            return datetime;
        }

        public void setDatetime(long datetime) {
            this.datetime = datetime;
        }

        public String getAmount() {
            return returnInfo(amount);
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getMerchantNo() {
            return returnInfo(merchantNo);
        }

        public void setMerchantNo(String merchantNo) {
            this.merchantNo = merchantNo;
        }

        public String getMerchantName() {
            return returnInfo(merchantName);
        }

        public void setMerchantName(String merchantName) {
            this.merchantName = merchantName;
        }
    }
}

